<?php
$this -> breadcrumbs = array('Clienti', );
$this -> menu = array( array('label' => 'Create Cliente', 'url' => array('create')), array('label' => 'Manage Cliente', 'url' => array('admin')), );

$baseUrl = Yii::app()->baseUrl; 
$cs = Yii::app()->getClientScript();
$cs->registerScriptFile($baseUrl.'/js/site.js');
?>

<div id="header">
	<div class="headerImage"><img src="images/customer.png" />
	</div>
	<div class="options">
		<?php echo CHtml::beginForm(CHtml::normalizeUrl(array('cliente/create'))); ?>

		<button class="clean-gray"><img src="images/add.png" /> Aggiungi cliente</button>
		
		<?php echo CHtml::endForm(); ?>
		</div>
	<div class="titolo">
		Clienti
	</div>
	<div class="sottotitolo">
		tot clienti presenti
	</div>
	<div class="clear"></div>
	<div id="breadcrumbs-one">
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
    'links'=>$this->breadcrumbs,
)); ?></div>
</div>

<?php $this -> widget('zii.widgets.grid.CGridView', array('dataProvider' => $dataProvider));?>